package com.isdepci.project.carbon.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 化石燃料相关参数的推荐值对象 b_fossil_fuel_parameter
 *
 * @author isdepci
 * @date 2025-03-29
 */
public class BFossilFuelParameter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 燃料名称 */
    @Excel(name = "燃料名称")
    private String fuelName;

    /** 燃料类型(1固体燃料、2液体燃料、3气体燃料) */
    @Excel(name = "燃料类型(1固体燃料、2液体燃料、3气体燃料)")
    private Integer fuelType;

    /** 低位发热量 */
    @Excel(name = "低位发热量")
    private BigDecimal lowerHeatValue;

    /** 单位热值含碳量 */
    @Excel(name = "单位热值含碳量")
    private BigDecimal heatCarbonContent;

    /** 燃料碳氧化率 */
    @Excel(name = "燃料碳氧化率")
    private BigDecimal carbonOxidationRate;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFuelName(String fuelName)
    {
        this.fuelName = fuelName;
    }

    public String getFuelName()
    {
        return fuelName;
    }
    public void setFuelType(Integer fuelType)
    {
        this.fuelType = fuelType;
    }

    public Integer getFuelType()
    {
        return fuelType;
    }
    public void setLowerHeatValue(BigDecimal lowerHeatValue)
    {
        this.lowerHeatValue = lowerHeatValue;
    }

    public BigDecimal getLowerHeatValue()
    {
        return lowerHeatValue;
    }
    public void setHeatCarbonContent(BigDecimal heatCarbonContent)
    {
        this.heatCarbonContent = heatCarbonContent;
    }

    public BigDecimal getHeatCarbonContent()
    {
        return heatCarbonContent;
    }
    public void setCarbonOxidationRate(BigDecimal carbonOxidationRate)
    {
        this.carbonOxidationRate = carbonOxidationRate;
    }

    public BigDecimal getCarbonOxidationRate()
    {
        return carbonOxidationRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fuelName", getFuelName())
            .append("fuelType", getFuelType())
            .append("lowerHeatValue", getLowerHeatValue())
            .append("heatCarbonContent", getHeatCarbonContent())
            .append("carbonOxidationRate", getCarbonOxidationRate())
            .toString();
    }
}
